Monkey patch failed block validation at 70132#100
Merged
michaelgpt merged 2 commits intomainfrom Aug 7, 2025
Merged
Conversation
Introduce a conditional check to allow processing of block number 70132 without validation. This is a temporary measure intended for testing purposes and will be removed after the testnet reset and governance module integration.
…er 70132 Update the return statement in the conditional check for block number 70132 to ensure proper function execution during testing. This change maintains the temporary bypass for validation as intended until the testnet reset and governance module integration are complete.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a temporary bypass for block verification in the
Chainimplementation to support ongoing testnet and governance module integration work. Specifically, it skips verification for a specific block number, which is intended to be removed after the testnet reset and governance module integration.Temporary block verification bypass:
app/src/chain.rs, theverify_blockmethod now skips verification for blocks withexecution_payload.block_number == 70132, returning early to avoid processing this block. This is marked as a TODO and is intended for removal after testnet reset and governance module integration.